<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>转换一个julian天数为Jewish历法的日期</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.jdtogregorian.html">JDToGregorian</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.jdtojulian.html">JDToJulian</a></div>
 <div class="up"><a href="ref.calendar.html">Calendar 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.jdtojewish" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">jdtojewish</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">jdtojewish</span> &mdash; <span class="dc-title">转换一个julian天数为Jewish历法的日期</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.jdtojewish-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>jdtojewish</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$juliandaycount</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$hebrew</code><span class="initializer"> = false</span></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$fl</code><span class="initializer"> = 0</span></span>
  ]] )</div>

  <p class="para rdfs-comment">
    转换一个julian天数为Jewish历法的日期。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.jdtojewish-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">julianday</code></em></dt>

     <dd>

      <p class="para">
       一个julian天数
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">hebrew</code></em></dt>

     <dd>

      <p class="para">
       如果参数 <em><code class="parameter">hebrew</code></em>设置为 <strong><code>TRUE</code></strong>，参数<em><code class="parameter">fl</code></em>可用于希伯莱语的格式。  
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">fl</code></em></dt>

     <dd>

      <p class="para">
       可用的格式有：  
       <strong><code>CAL_JEWISH_ADD_ALAFIM_GERESH</code></strong>,
       <strong><code>CAL_JEWISH_ADD_ALAFIM</code></strong>,
       <strong><code>CAL_JEWISH_ADD_GERESHAYIM</code></strong>.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.jdtojewish-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
  以“月/日/年”的格式显示jewish日期。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.jdtojewish-changelog">
  <h3 class="title">更新日志</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>版本</th>
       <th>说明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>5.0.0</td>
       <td>
        增加了参数 <em><code class="parameter">fl</code></em>。
       </td>
      </tr>

      <tr>
       <td>4.3.0</td>
       <td>
        增加了参数 <em><code class="parameter">hebrew</code></em> 。
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.jdtojewish-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   <div class="example" id="example-2183">
    <p><strong>Example #1 <span class="function"><strong>jdtojewish()</strong></span> Example</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #0000BB">jdtojewish</span><span style="color: #007700">(</span><span style="color: #0000BB">gregoriantojd</span><span style="color: #007700">(</span><span style="color: #0000BB">10</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">8</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2002</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">CAL_JEWISH_ADD_GERESHAYIM&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">CAL_JEWISH_ADD_ALAFIM&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">CAL_JEWISH_ADD_ALAFIM_GERESH</span><span style="color: #007700">);&nbsp;<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.jdtojewish-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.jewishtojd.html" class="function" rel="rdfs-seeAlso">jewishtojd()</a> - 转变一个Jewish历法的日期为一个Julian Day计数</span></li> 
    <li class="member"><span class="function"><a href="function.cal-from-jd.html" class="function" rel="rdfs-seeAlso">cal_from_jd()</a> - 转换Julian Day计数到一个支持的历法。</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.jdtogregorian.html">JDToGregorian</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.jdtojulian.html">JDToJulian</a></div>
 <div class="up"><a href="ref.calendar.html">Calendar 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
